package com.example.demo.entiy;

import java.math.BigDecimal;

/**
 * 订单明细表
 */
public class OrderDetail {
    /**
    * 主键
    */
    private Long id;

    /**
    * 名字
    */
    private String name;

    /**
    * 图片
    */
    private String image;

    /**
    * 订单id
    */
    private Long orderId;

    /**
    * 菜品id
    */
    private Long dishId;

    /**
    * 套餐id
    */
    private Long setmealId;

    /**
    * 口味
    */
    private String dishFlavor;

    /**
    * 数量
    */
    private Integer number;

    /**
    * 金额
    */
    private BigDecimal amount;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getDishId() {
        return dishId;
    }

    public void setDishId(Long dishId) {
        this.dishId = dishId;
    }

    public Long getSetmealId() {
        return setmealId;
    }

    public void setSetmealId(Long setmealId) {
        this.setmealId = setmealId;
    }

    public String getDishFlavor() {
        return dishFlavor;
    }

    public void setDishFlavor(String dishFlavor) {
        this.dishFlavor = dishFlavor;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }
}